.module
  %h4= @config["title"]
  %ul
    %li
      %form{:style=>"margin:0;padding:0;", :action=>"#"}
        %input{:id=>"search", :name=>"search", :type=>"text", :value=>"", :size=>"15"}/
        = image_tag "indicator_arrows.gif",:id=>"busy",:style=>"display:none;"
      = observe_field 'search',:frequency => 0.5,:loading =>"Element.show('busy')",:complete =>"Element.hide('busy')",:update => 'target_id', :url =>{:controller => 'plugin/search', :action=> 'search_result' },:with => "'search=' + escape(value)"
      #target_id
  
